<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><?php $this->archiveTitle(array(
            'category'  =>  _t('分类 %s 下的文章'),
            'search'    =>  _t('包含关键字 %s 的文章'),
            'tag'       =>  _t('标签 %s 下的文章'),
            'author'    =>  _t('%s 发布的文章')
        ), '', ' - '); ?><?php $this->options->title(); ?></title>
    <link rel="shortcut icon" href="<?php $this->options->favicon() ?>" type="image/x-icon" />
    <!-- 通过自有函数输出HTML头部信息 -->
    <?php $this->header(); ?>
    <!-- 引入框架 -->
    <link rel="stylesheet" href="<?php $this->options->themeUrl('css/bootstrap.min.css'); ?>">
    <script src="<?php $this->options->themeUrl('js/jquery-1.9.1.min.js'); ?>"></script>
    <script src="<?php $this->options->themeUrl('js/bootstrap.min.js'); ?>"></script>
    <script src="<?php $this->options->themeUrl('js/b3.js'); ?>"></script>
    <script  type="text/javascript" src="<?php $this->options->themeUrl('js/starbg.js'); ?>"></script>
    <script  type="text/javascript" src="<?php $this->options->themeUrl('js/modernizr-2.6.2.min.js'); ?>"></script>
    <!-- 引入tool中的icon -->
    <link rel="stylesheet" href="<?php $this->options->themeUrl('css/materialdesignicons.min.css'); ?>">
    <link rel="stylesheet" href="<?php $this->options->themeUrl('css/iconfont.css'); ?>">
    <!-- 引入常规样式 -->
    <link rel="stylesheet" href="<?php $this->options->themeUrl('css/tool.css'); ?>">
    <link rel="stylesheet" href="<?php $this->options->themeUrl('css/footer.css'); ?>">
    <!-- 引入背景色 -->
    <link rel="stylesheet" href="<?php $this->options->themeUrl('css/li-bgc-color.css'); ?>">

</head>
<body>
    <canvas id="canvas">你的浏览器不支持canvas标签</canvas>
    <!-- 顶部导航 -->
    <div class="container">
   <!--导航开始-->
  <nav class="navbar navbar-inverse" role="navigation">
  <!-- 手机状态下 -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-6">
      <span class="sr-only"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="#">Brand</a></div>
  <!--图标导航及自栏目导航开始 -->
  <div class="collapse navbar-collapse" id="navbar-collapse-6" style="">
    <ul class="nav navbar-nav">
      <!--首页单栏目样式--> 
      <li class="dropdown<?php if($this->is('index')): ?> active<?php endif; ?>">
        <a href="<?php $this->options->siteUrl(); ?>">
          <span <?php if($this->is('index')): ?>  class="mdi mdi-home mdi-24px" <?php endif; ?>><?php _e('首页'); ?></span>
        </a>
      </li>
      <!--含栏目输出样式-->
    <?php $this->widget('Widget_Metas_Category_List')->to($categories); ?>
    <?php while($categories->next()): ?>
      <li class="dropdown <?php if($this->is('category', $categories->slug)): ?> active <?php endif; ?>">
        <a href="<?php $categories->permalink(); ?>">
          <span <?php if($this->is('category', $categories->slug)): ?> class="mdi mdi-<?php $categories->slug(); ?> mdi-24px" <?php endif; ?>><?php $categories->name(); ?></span>
        </a>
      </li>
     <?php endwhile; ?>
    </ul>
  </div>
  <!--div结束 -->
  </nav>
<!--导航结束-->
    </div>